﻿<?php
include"configtop.php"
?>
<div id="home">
  <?php
    if(checklogin()==2){
	  echo("<div id='loginf'>
	    <div style='display: table-cell; vertical-align:middle; width: 640px; margin-left: 20px ; height: 50px; border-bottom: 1px solid #cfcfcf;'><text style='margin-top: 20px;'> Bạn chưa đăng nhập!</text></div>
	    <form id='loginform' name='login' action='logincheck.php' method='post'>
		<div style='margin-bottom: 10px;margin-top: 40px;'><label>User name:</label><input style='margin-left: -150px;'  type='text' name='username' style='text-align: left;'></div>
		<div style='margin-bottom: 20px;'><label>Pass word:</label><input style='margin-left: -150px;' type='password' name='pass'></div>
		<div><input type='submit' name=submit value='Đăng nhập' style='width: 100px; margin-left: 150px; cursor: pointer;'></div>
		</form>
		</div>
	  ");
	}
	else{
	}
  ?>
</div>
<?php
include"configbot.php"
?>